home *** CD-ROM | disk | FTP | other *** search
/ AOL File Library: 4,101 to 4,200 / aol-file-protocol-4400-4101-to-4200.zip / AOLDLs / ADV - Message Board Archives / Archived Msgs_ Hard to believe / ADV.monospaced next >
Internet Message Format  |  2014-11-30  |  6KB

  1. Path: IIGS Toolbox/Hard to Believe!!!!!!!!!!!!!!!!
  2.  
  3. Subj:  Hard to Believe!!!!!!!!!!!!!!!!!      91-06-29 17:03:24 EST
  4. From:  CecilFret
  5. Posted on: America Online
  6.  
  7. I find it hard to believe that after I set up a window, it is difficult to perform the following simple operation.  I want to send a simple string to the display.  This string is text followed by whatever turns you on \r or \n in C language.  Basically, I want to display the catalog of a disk in a window so once the display is done, I can scroll through it, find text, etc.
  8.  
  9. The TEACH module on the CD ROM is practically worthless.  There is another problem.  All I have seen is proportional spacing, I need  non-proporational so I can obtain a nice columnar display.
  10.  
  11. Why does a powerful machine like the IIgs be lacking in this very fundamental operation!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  12. Cecil
  13.  
  14.  
  15. Path: IIGS Toolbox/Hard to Believe!!!!!!!!!!!!!!!!
  16.  
  17. Subj:  Proportional Fonts                    91-06-29 18:40:10 EST
  18. From:  Damien9
  19. Posted on: America Online
  20.  
  21. Cecil,
  22.  
  23. The only things the GS is lacking is support and speed.  To set a font to be used as mono or proportional you need to set the font flags.  An example of this is in the HodgePodge program in Programmer's Intro to the GS.  If you don't have this, let me know, I'll look it up for you (I just moved, books are still boxed.)
  24.  
  25. Jeff
  26.  
  27. Path: IIGS Toolbox/Hard to Believe!!!!!!!!!!!!!!!!
  28.  
  29. Subj:  Perhaps.....                          91-06-30 09:21:40 EST
  30. From:  CecilFret
  31. Posted on: America Online
  32.  
  33. I tried the set font flags in several places in my program.  No luck.  Hodge Podge, I will look at as a last resort.  It was obviously written without debugging.  I found places where a name had a lower case letter, in other places, upper case.
  34.  
  35. I also have the DTS samples on ROM disk.  Some of them don't work.  One, I forget, calls saveDB and restoreDB.  Not in the source code so I couldn't completely compile it.
  36. Cecil
  37.  
  38.  
  39. Path: IIGS Toolbox/Hard to Believe!!!!!!!!!!!!!!!!
  40.  
  41. Subj:  Use a different font...               91-07-01 23:56:39 EST
  42. From:  A2Pro Tim
  43. Posted on: America Online
  44.  
  45. Why not just use a mono-spaced font like Courier or Monaco instead of futzing with the font flags?  It's a LOT easier...  Set the current font for the window to the desired font (and size/style) and away you go.  Details on how to do that from Pascal are part of the NDAs 102 or 201 (don't remember which off hand) article I did long ago for Call-A.P.P.L.E.
  46.  
  47.  
  48. Teach is of little value because it's designed to use a text edit field.  HodgePodge is a much better choice for what you're trying to do and source for it comes with APW C (as well as with Programmers Intro).  SaveDB and RestoreDB should be in the source for Hodge Podge that comes with APW C - if not, I'll see if I can find it laying around here.  Those are old samples and the interfaces have changed many times since they were created.  Nevertheless, I thought DTS updated the ones on the CD to work with the current interfaces.  If the ones off of "Gorillas in the Disc" don't compile (using the interfaces found on that same CD), then let DTS know via AppleLink (i.e.:  official channels and all that...).
  49.  
  50.  
  51. Tim S.
  52.  
  53.  
  54. Path: IIGS Toolbox/Hard to Believe!!!!!!!!!!!!!!!!
  55.  
  56. Subj:  Thanks, Tim.                          91-07-02 19:26:40 EST
  57. From:  CecilFret
  58. Posted on: America Online
  59.  
  60. Thanks for your help Tim.  Did I mention I was using ORCA/C?
  61. When I get a chance, I will look at your message in more detail.  Perhaps next week, going out of town for the 4th.
  62. Cecil
  63.  
  64.  
  65. Path: IIGS Toolbox/Hard to Believe!!!!!!!!!!!!!!!!
  66.  
  67. Subj:  And Don't Forget ORCA's printf()      91-07-05 20:24:36 EST
  68. From:  PatrickC19
  69. Posted on: America Online
  70.  
  71. Cecil...
  72. Don't forget that Mike route's his "stdin" and "stdout" to a window -- if you use his "startxxxx()" function calls.   That way you can use printf() or puts() and write your text strings to the hi-res screen without much pain.
  73.  
  74. I *was* able to kick the system font in mono-spaced (albeit a long time ago) so I know it works.  Looked pretty awful.  A nice alternative is a font called the "Programmer's Font", written by a friend of mine, R.Hess.  It's almost identical to Shaston 8 but is mono-spaced and aestheticaly pleasing.
  75.  
  76. Not sure where it is on AOL, but it's here somewhere.  Oh yea -- it may also be in the SSSi library since it's the font they ship with Genesys -- with a *new* name.  (ahem!)
  77. Patrick
  78.  
  79.  
  80. Path: IIGS Toolbox/Hard to Believe!!!!!!!!!!!!!!!!
  81.  
  82. Subj:  Thanks Patrick                        91-07-06 13:18:20 EST
  83. From:  CecilFret
  84. Posted on: America Online
  85.  
  86. Mike Westerfield told me about the printf thing.  For some reason, it did not work.  It did not respect my widow and started writting on the top line of the screen.  I also got the Programmers Font before I left to see my mother over the 4th.  I have a back log of inCider/A+ stuff to do so it will be a couple of days before I can go back to my project.
  87. Thanx
  88. Cecil
  89.  
  90. Path: IIGS Toolbox/Hard to Believe!!!!!!!!!!!!!!!!
  91.  
  92. Subj:  Cecil                                 91-07-06 16:16:59 EST
  93. From:  AFL Floyd
  94. Posted on: America Online
  95.  
  96. It sounds like you didn't set the port to point to your window before writing to it.
  97.  
  98. Floyd
  99.  
  100. Path: IIGS Toolbox/Hard to Believe!!!!!!!!!!!!!!!!
  101.  
  102. Subj:  Call SetPort()                        91-07-11 20:41:58 EST
  103. From:  PatrickC19
  104. Posted on: America Online
  105.  
  106. Cecil,
  107.  
  108. I'll second Floyd's suggestion...  I always sprinkle "SetPort()" calls liberally thru-out my code.   Beat's looking in the Reference Manuals!  :)
  109.  
  110. Patrick
  111.  
  112.  
  113.